﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="Org_Posting.aspx.vb" Inherits="Account_Org_Posting" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

<asp:table ID="Table2" runat="server" Width="220" Height="70" 
        HorizontalAlign="Center">
    <asp:TableRow> <%-- Poster --%>
     <asp:TableCell>
            <asp:Label ID="lblPoster" runat="server" Text="Posted by: "></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:TextBox id="postedBy" rows="5" columns="30" runat="server" />
            <asp:RequiredFieldValidator ID="PoserValidator" runat="server" ControlToValidate="txtContent" 
CssClass="failureNotification" ErrorMessage="Poster Name is Required" ToolTip="Content is required." 
ValidationGroup="NewsPostValidationGroup1">*</asp:RequiredFieldValidator>
        </asp:TableCell></asp:TableRow><asp:TableRow> <%-- Empty Line --%>
        <asp:TableCell>
            <br />
        </asp:TableCell><asp:TableCell>
           <br />
        </asp:TableCell></asp:TableRow><asp:TableRow> <%-- Topic --%>
        <asp:TableCell>
            <asp:Label ID="lblTopic" runat="server" Text="Topic: "></asp:Label>
        </asp:TableCell><asp:TableCell>
            <asp:TextBox id="topic" columns="30" runat="server"/>
        </asp:TableCell></asp:TableRow><asp:TableRow> <%-- Empty Line --%>
        <asp:TableCell>
            <br />
        </asp:TableCell><asp:TableCell>
           <br />
        </asp:TableCell></asp:TableRow><asp:TableRow> <%-- Content --%>
        <asp:TableCell>
            <asp:Label ID="lblContent" runat="server" Text="Content: "></asp:Label>
        </asp:TableCell><asp:TableCell>
            <asp:TextBox id="txtContent" rows="5" TextMode="multiline" runat="server" />
             <asp:RequiredFieldValidator ID="ContentValidator" runat="server" ControlToValidate="txtContent" 
CssClass="failureNotification" ErrorMessage="You have not added any content" ToolTip="Content is required." 
ValidationGroup="NewsPostValidationGroup1">*</asp:RequiredFieldValidator>
        </asp:TableCell></asp:TableRow><asp:TableRow> <%-- Empty Line --%>
        <asp:TableCell>
            <br />
        </asp:TableCell><asp:TableCell>
           <br />
        </asp:TableCell></asp:TableRow><asp:TableRow> <%-- Empty Line --%>
        <asp:TableCell>
            <br />
        </asp:TableCell><asp:TableCell>
           <br />
        </asp:TableCell></asp:TableRow><asp:TableRow> <%-- Button --%>
        <asp:TableCell>
            <asp:Button id="cmdPostSubmit" Text="Submit" runat="server" OnClick="SaveTextToFile"/>
        </asp:TableCell></asp:TableRow></asp:table></asp:Content>